Factory.define :molecule do |m|
  m.compound "C00001"
  m.names "H2O, Water"
  m.formula "H20"
  m.mass 18.0106
end

Factory.define :water, :parent => :molecule do
end

Factory.define :atp, :parent => :molecule do |m|
  m.compound "C00002"
  m.names "ATP, Adenosine 5'-triphosphate"
  m.mass 506.9957
  m.formula "C10H16N5O13P3"
end

Factory.define :nad, :parent => :molecule do |m|
  m.compound "C00003"
  m.names "Nicotinamide adenine dinucleotide"
  m.mass 664.1169
  m.formula "C21H28N7O14P2"
end
